<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:13:06 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Git - gitcvs migration</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Miscellaneous">
                                Miscellaneous                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="1d2354e61a31e4b1bb9565091b2a04e6c1bdd1d9cab795bf65e7ddfd47b1eba5/22" data-source="gitcvs-migration" onmousemove="i18n(this)">gitcvs-migration</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="47014a416d9483bf654aa1654c480b852f78ac0c91db6b676c509dd4ed285c99/74" data-source="gitcvs-migration - Git for CVS users" onmousemove="i18n(this)">gitcvs-migration &mdash;  Git  &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&jcy; CVS</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-undefined">git cvsimport *</pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="b3e76fef9d1a2fbc17228aac71f667225762280484f27d7fd3ce82329992e8a5/41" data-source="Git differs from CVS in that every working tree contains a repository with a full copy of the project history, and no repository is inherently more important than any other. However, you can emulate the CVS model by designating a single shared repository which people can synchronize with; this document explains how to do that." onmousemove="i18n(this)">Git  &ocy;&tcy;&lcy;&icy;&chcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&tcy; CVS &tcy;&iecy;&mcy;, &chcy;&tcy;&ocy; &kcy;&acy;&zhcy;&dcy;&ocy;&iecy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &scy; &pcy;&ocy;&lcy;&ncy;&ocy;&jcy; &kcy;&ocy;&pcy;&icy;&iecy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy;, &icy; &ncy;&icy; &ocy;&dcy;&icy;&ncy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &pcy;&ocy; &scy;&vcy;&ocy;&iecy;&jcy; &scy;&ucy;&tcy;&icy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &bcy;&ocy;&lcy;&iecy;&iecy; &vcy;&acy;&zhcy;&ncy;&ycy;&mcy;, &chcy;&iecy;&mcy; &lcy;&yucy;&bcy;&ocy;&jcy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy;. &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ecy;&mcy;&ucy;&lcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &mcy;&ocy;&dcy;&iecy;&lcy;&softcy; CVS, &ncy;&acy;&zcy;&ncy;&acy;&chcy;&icy;&vcy; &ocy;&dcy;&icy;&ncy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &scy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &lcy;&yucy;&dcy;&icy; &scy;&mcy;&ocy;&gcy;&ucy;&tcy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;; &vcy; &ecy;&tcy;&ocy;&mcy; &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&iecy; &ocy;&bcy;&hardcy;&yacy;&scy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;, &kcy;&acy;&kcy; &ecy;&tcy;&ocy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy;.</span></p> <p><span data-i18n="4cc30edb4a6f7fd08e45bcfc4c6fed71be843f52f47864974bbe878bffc1bf81/b3" data-source="Some basic familiarity with Git is required. Having gone through &lt;a href=&quot;gittutorial&quot;&gt;gittutorial[7]&lt;/a&gt; and &lt;a href=&quot;gitglossary&quot;&gt;gitglossary[7]&lt;/a&gt; should be sufficient." onmousemove="i18n(this)">&Tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &bcy;&acy;&zcy;&ocy;&vcy;&ocy;&iecy; &zcy;&ncy;&acy;&kcy;&ocy;&mcy;&scy;&tcy;&vcy;&ocy; &scy;  Git . &Pcy;&rcy;&ocy;&jcy;&dcy;&yacy; &chcy;&iecy;&rcy;&iecy;&zcy;  <a href="gittutorial.html">gittutorial[7]</a>  &icy;  <a href="gitglossary.html">gitglossary[7]</a> , &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &bcy;&ycy;&tcy;&softcy; &dcy;&ocy;&scy;&tcy;&acy;&tcy;&ocy;&chcy;&ncy;&ocy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_developing_against_a_shared_repository"><span data-i18n="7486adde5e9ea2d62180463033a4d3c2616e6ef1560578e1bd323d483e044745/a8" data-source="Developing against a shared repository" onmousemove="i18n(this)">&Rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&acy; &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;</span></h2> <div> <p><span data-i18n="238e31576f1378fc3a3a5c5ae41c29773f413fd74932c76d2d99cde3e31b04ae/c6" data-source="Suppose a shared repository is set up in /pub/repo.git on the host foo.com. Then as an individual committer you can clone the shared repository over ssh with:" onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&mcy;, &chcy;&tcy;&ocy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy; &vcy; /pub/repo.git &ncy;&acy; &khcy;&ocy;&scy;&tcy;&iecy; foo.com. &Zcy;&acy;&tcy;&iecy;&mcy; &kcy;&acy;&kcy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&tcy;&iecy;&rcy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &chcy;&iecy;&rcy;&iecy;&zcy; ssh &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">clone</span> foo.com:/pub/repo.git/ my-project</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> my-project</span></pre> </div> </div> <p><span data-i18n="6ca48e1a371eb3d602def7f81491dde7534a4ea190bc9db91cc0098b51ef0404/40" data-source="and hack away. The equivalent of &lt;code&gt;cvs update&lt;/code&gt; is" onmousemove="i18n(this)">&icy; &vcy;&zcy;&lcy;&ocy;&mcy;&acy;&tcy;&softcy;. &Ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;  <code>cvs update</code> :</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git pull origin</pre> </div> </div> <p><span data-i18n="5c5d3642d7d7600b75d3460bb87d69beb6057db5366ab5746067842e1d8fe78b/6c" data-source="which merges in any work that others might have done since the clone operation. If there are uncommitted changes in your working tree, commit them first before running git pull." onmousemove="i18n(this)">&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &scy; &lcy;&yucy;&bcy;&ocy;&jcy; &rcy;&acy;&bcy;&ocy;&tcy;&ocy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &mcy;&ocy;&gcy;&lcy;&icy; &bcy;&ycy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&softcy; &pcy;&ocy;&scy;&lcy;&iecy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &IEcy;&scy;&lcy;&icy; &vcy; &vcy;&acy;&shcy;&iecy;&mcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy; &iecy;&scy;&tcy;&softcy; &ncy;&iecy;&zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &icy;&khcy;, &pcy;&rcy;&iecy;&zhcy;&dcy;&iecy; &chcy;&iecy;&mcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&tcy;&softcy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;  git .</span></p> <div> <div class="table-responsive"><table class="table"> <tr> <td> <div><span data-i18n="d8da2c49df39d91df7ecd199b92da7bf264f026242ccc69b08daeadfe587c45b/a2" data-source="Note" onmousemove="i18n(this)">Note</span></div> </td> <td> <p><span data-i18n="555d9a466c4418af73db723eed402b32bd63f43d73f5f15d57354e2933d9cef7/58" data-source="The &lt;code&gt;pull&lt;/code&gt; command knows where to get updates from because of certain configuration variables that were set by the first &lt;code&gt;git clone&lt;/code&gt; command; see &lt;code&gt;git config -l&lt;/code&gt; and the &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; man page for details." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>pull</code>  &zcy;&ncy;&acy;&iecy;&tcy;, &ocy;&tcy;&kcy;&ucy;&dcy;&acy; &pcy;&ocy;&lcy;&ucy;&chcy;&acy;&tcy;&softcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;, &bcy;&lcy;&acy;&gcy;&ocy;&dcy;&acy;&rcy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&mcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;, &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&mcy; &pcy;&iecy;&rcy;&vcy;&ocy;&jcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ocy;&jcy;  <code>git clone</code> ; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  <code>git config -l</code>  &icy; &ncy;&acy; &scy;&pcy;&rcy;&acy;&vcy;&ocy;&chcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&acy;&ncy;&icy;&tscy;&iecy;  <a href="git-config.html">git-config[1]</a> .</span></p> </td> </tr> </table></div> </div> <p><span data-i18n="be02a7191505ea6bc1a486e9519c214df4cc3ff261f7f6229475b0fb90414210/87" data-source="You can update the shared repository with your changes by first committing your changes, and then using the &lt;code&gt;git push&lt;/code&gt; command:" onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &scy;&vcy;&ocy;&icy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;&mcy;&icy;, &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&vcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  <code>git push</code> :</span></p> <div> <div> <pre class="hljs language-perl">$ git <span class="hljs-keyword">push</span> origin master</pre> </div> </div> <p><span data-i18n="ec830d401095eb48a07a8005cafdb514f14ac1df67ac23db9eb2e1438cc9cafb/ca" data-source="to &amp;quot;push&amp;quot; those commits to the shared repository. If someone else has updated the repository more recently, &lt;code&gt;git push&lt;/code&gt;, like &lt;code&gt;cvs commit&lt;/code&gt;, will complain, in which case you must pull any changes before attempting the push again." onmousemove="i18n(this)">&dcy;&ocy;  &quot;push&quot; , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &fcy;&icy;&kcy;&scy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &vcy; &ocy;&bcy;&shchcy;&iecy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;. &IEcy;&scy;&lcy;&icy; &kcy;&tcy;&ocy;-&tcy;&ocy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &ncy;&iecy;&dcy;&acy;&vcy;&ncy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&lcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;,  <code>git push</code>  , &kcy;&acy;&kcy; &icy;  <code>cvs commit</code>  , &vcy;&ycy;&dcy;&acy;&scy;&tcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy;&bcy; &ocy;&shcy;&icy;&bcy;&kcy;&iecy;, &icy; &vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &vcy;&acy;&mcy; &pcy;&rcy;&icy;&dcy;&iecy;&tcy;&scy;&yacy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&softcy; &lcy;&yucy;&bcy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &pcy;&rcy;&iecy;&zhcy;&dcy;&iecy; &chcy;&iecy;&mcy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&yacy;&tcy;&softcy; &pcy;&ocy;&pcy;&ycy;&tcy;&kcy;&ucy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;.</span></p> <p><span data-i18n="9c96960507ef82be136ebe776a8a1f16111b252c2eea7bf6a564c3d3478e793b/8c" data-source="In the &lt;code&gt;git push&lt;/code&gt; command above we specify the name of the remote branch to update (&lt;code&gt;master&lt;/code&gt;). If we leave that out, &lt;code&gt;git push&lt;/code&gt; tries to update any branches in the remote repository that have the same name as a branch in the local repository. So the last &lt;code&gt;push&lt;/code&gt; can be done with either of:" onmousemove="i18n(this)">&Vcy; &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy;&ycy;&shcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&iecy;  <code>git push</code>  &mcy;&ycy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&mcy; &icy;&mcy;&yacy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &dcy;&lcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; ( <code>master</code> ). &IEcy;&scy;&lcy;&icy; &mcy;&ycy; &ocy;&scy;&tcy;&acy;&vcy;&icy;&mcy; &ecy;&tcy;&ocy; &bcy;&iecy;&zcy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&yacy;,  <code>git push</code>  &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &vcy;&scy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &vcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &icy;&mcy;&iecy;&yucy;&shchcy;&icy;&iecy; &tcy;&ocy; &zhcy;&iecy; &icy;&mcy;&yacy;, &chcy;&tcy;&ocy; &icy; &vcy;&iecy;&tcy;&kcy;&acy; &vcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;. &Icy;&tcy;&acy;&kcy;, &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy;  <code>push</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &lcy;&yucy;&bcy;&ocy;&gcy;&ocy; &icy;&zcy;:</span></p> <div> <div> <pre class="hljs language-perl">$ git <span class="hljs-keyword">push</span> origin
$ git <span class="hljs-keyword">push</span> foo.com:<span class="hljs-regexp">/pub/pr</span>oject.git/</pre> </div> </div> <p><span data-i18n="91be8f8ecee78d7fe0854dff4922174d035ddc6217984268fa5eac3a8bbc932d/e3" data-source="as long as the shared repository does not have any branches other than &lt;code&gt;master&lt;/code&gt;." onmousemove="i18n(this)">&dcy;&ocy; &tcy;&iecy;&khcy; &pcy;&ocy;&rcy;, &pcy;&ocy;&kcy;&acy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&khcy; &vcy;&iecy;&tcy;&ocy;&kcy;, &kcy;&rcy;&ocy;&mcy;&iecy;  <code>master</code> .</span></p> </div> <h2 class="text-body-emphasis"  id="_setting_up_a_shared_repository"><span data-i18n="1cba223557a9bfee3213bc6dd0348b763232458d6862e2e420a09c4dfc87257a/02" data-source="Setting up a shared repository" onmousemove="i18n(this)">&Ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&acy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;</span></h2> <div> <p><span data-i18n="cfa97d298086260676ff43525f19f46f75407b30aa4c4a16ae7b8454960ace31/c6" data-source="We assume you have already created a Git repository for your project, possibly created from scratch or from a tarball (see &lt;a href=&quot;gittutorial&quot;&gt;gittutorial[7]&lt;/a&gt;), or imported from an already existing CVS repository (see the next section)." onmousemove="i18n(this)">&Mcy;&ycy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&mcy;, &chcy;&tcy;&ocy; &vcy;&ycy; &ucy;&zhcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&lcy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git  &dcy;&lcy;&yacy; &scy;&vcy;&ocy;&iecy;&gcy;&ocy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy;, &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&jcy; &scy; &ncy;&ucy;&lcy;&yacy; &icy;&lcy;&icy; &icy;&zcy; &acy;&rcy;&khcy;&icy;&vcy;&acy; (&scy;&mcy;.  <a href="gittutorial.html">gittutorial[7]</a> ), &icy;&lcy;&icy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &icy;&zcy; &ucy;&zhcy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; CVS (&scy;&mcy;. &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&jcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;).</span></p> <p><span data-i18n="f242dbc7c210ab2d5b2a65269129b146533074afd8032a57fa47fa9eaa0b82f0/45" data-source="Assume your existing repo is at /home/alice/myproject. Create a new &amp;quot;bare&amp;quot; repository (a repository without a working tree) and fetch your project into it:" onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&mcy;, &chcy;&tcy;&ocy; &vcy;&acy;&shcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy; /home/alice/myproject. &Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  &quot;bare&quot;  (&rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &bcy;&iecy;&zcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;) &icy; &zcy;&acy;&gcy;&rcy;&ucy;&zcy;&icy;&tcy;&iecy; &vcy; &ncy;&iecy;&gcy;&ocy; &scy;&vcy;&ocy;&jcy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">mkdir</span> /pub/my-repo.git</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> /pub/my-repo.git</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git --bare init --shared</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git --bare fetch /home/alice/myproject master:master</span></pre> </div> </div> <p><span data-i18n="abad2d3960ec957c9283391f5412e49bbab48892fcf3acc2448ffb4f84a240de/0d" data-source="Next, give every team member read/write access to this repository. One easy way to do this is to give all the team members ssh access to the machine where the repository is hosted. If you don&amp;rsquo;t want to give them a full shell on the machine, there is a restricted shell which only allows users to do Git pushes and pulls; see &lt;a href=&quot;git-shell&quot;&gt;git-shell[1]&lt;/a&gt;." onmousemove="i18n(this)">&Zcy;&acy;&tcy;&iecy;&mcy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &kcy;&acy;&zhcy;&dcy;&ocy;&mcy;&ucy; &chcy;&lcy;&iecy;&ncy;&ucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &ncy;&acy; &chcy;&tcy;&iecy;&ncy;&icy;&iecy;/&zcy;&acy;&pcy;&icy;&scy;&softcy; &kcy; &ecy;&tcy;&ocy;&mcy;&ucy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;. &Ocy;&dcy;&icy;&ncy; &icy;&zcy; &pcy;&rcy;&ocy;&scy;&tcy;&ycy;&khcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&ocy;&vcy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy; &mdash; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy;&scy;&iecy;&mcy; &chcy;&lcy;&iecy;&ncy;&acy;&mcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; ssh-&dcy;&ocy;&scy;&tcy;&ucy;&pcy; &kcy; &mcy;&acy;&shcy;&icy;&ncy;&iecy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &rcy;&acy;&scy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;. &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &ncy;&iecy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &icy;&mcy; &pcy;&ocy;&lcy;&ncy;&ucy;&yucy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&ucy; &ncy;&acy; &mcy;&acy;&shcy;&icy;&ncy;&iecy;, &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&iecy;&ncy;&ncy;&acy;&yacy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy;&mcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy;  Git  push &icy; pull; &scy;&mcy;.  <a href="git-shell.html">git-shell[1]</a> .</span></p> <p><span data-i18n="43406ed33701fea22a746bf28468e7a122b5a444c5d7d885ee011c5f0f7b61ee/82" data-source="Put all the committers in the same group, and make the repository writable by that group:" onmousemove="i18n(this)">&Pcy;&ocy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&iecy; &vcy;&scy;&iecy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&tcy;&iecy;&rcy;&ocy;&vcy; &vcy; &ocy;&dcy;&ncy;&ucy; &gcy;&rcy;&ucy;&pcy;&pcy;&ucy; &icy; &scy;&dcy;&iecy;&lcy;&acy;&jcy;&tcy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;&mcy; &dcy;&lcy;&yacy; &zcy;&acy;&pcy;&icy;&scy;&icy; &ecy;&tcy;&ocy;&jcy; &gcy;&rcy;&ucy;&pcy;&pcy;&iecy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">chgrp</span> -R <span class="hljs-variable">$group</span> /pub/my-repo.git</span></pre> </div> </div> <p><span data-i18n="436331ba6432a5e996bbc34da266655e63652764bb217efb5dd337be2ba670f0/07" data-source="Make sure committers have a umask of at most 027, so that the directories they create are writable and searchable by other group members." onmousemove="i18n(this)">&Ucy;&bcy;&iecy;&dcy;&icy;&tcy;&iecy;&scy;&softcy;, &chcy;&tcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&tcy;&iecy;&rcy;&ycy; &icy;&mcy;&iecy;&yucy;&tcy; umask &ncy;&iecy; &bcy;&ocy;&lcy;&iecy;&iecy; 027, &chcy;&tcy;&ocy;&bcy;&ycy; &vcy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&iecy;&mcy;&ycy;&khcy; &icy;&mcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&khcy; &bcy;&ycy;&lcy;&icy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &icy; &pcy;&ocy;&icy;&scy;&kcy; &dcy;&lcy;&yacy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &chcy;&lcy;&iecy;&ncy;&ocy;&vcy; &gcy;&rcy;&ucy;&pcy;&pcy;&ycy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_importing_a_cvs_archive"><span data-i18n="a270a79922c2cab8cb3ede2a68aa514925c959a595c6c1185a8ba8090d39c7a3/37" data-source="Importing a cvs archive" onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy; &acy;&rcy;&khcy;&icy;&vcy;&acy; cvs</span></h2> <div> <div> <div class="table-responsive"><table class="table"> <tr> <td> <div><span data-i18n="d8da2c49df39d91df7ecd199b92da7bf264f026242ccc69b08daeadfe587c45b/a2" data-source="Note" onmousemove="i18n(this)">Note</span></div> </td> <td><span data-i18n="24c733e6c09a31805ef667ecc2248335a9db4375886a5dbff6e5fc2f068f551e/c4" data-source="These instructions use the &lt;code&gt;git-cvsimport&lt;/code&gt; script which ships with git, but other importers may provide better results. See the note in &lt;a href=&quot;git-cvsimport&quot;&gt;git-cvsimport[1]&lt;/a&gt; for other options." onmousemove="i18n(this)">&Vcy; &ecy;&tcy;&icy;&khcy; &icy;&ncy;&scy;&tcy;&rcy;&ucy;&kcy;&tscy;&icy;&yacy;&khcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&jcy;  <code>git-cvsimport</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &scy; git, &ncy;&ocy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&iecy;&rcy;&ycy; &mcy;&ocy;&gcy;&ucy;&tcy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&tcy;&softcy; &lcy;&ucy;&chcy;&shcy;&icy;&iecy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&ycy;. &Dcy;&rcy;&ucy;&gcy;&icy;&iecy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ycy; &scy;&mcy;. &vcy; &pcy;&rcy;&icy;&mcy;&iecy;&chcy;&acy;&ncy;&icy;&icy; &kcy;  <a href="git-cvsimport.html">git-cvsimport[1]</a> .</span></td> </tr> </table></div> </div> <p><span data-i18n="bec4680e4f931043b659ea29bf99870fc1d70734274451b9533a4501b0867188/3f" data-source="First, install version 2.1 or higher of cvsps from &lt;a href=&quot;https://github.com/andreyvit/cvsps&quot;&gt;https://github.com/andreyvit/cvsps&lt;/a&gt; and make sure it is in your path. Then cd to a checked out CVS working directory of the project you are interested in and run &lt;a href=&quot;git-cvsimport&quot;&gt;git-cvsimport[1]&lt;/a&gt;:" onmousemove="i18n(this)">&Scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&yucy; 2.1 &icy;&lcy;&icy; &vcy;&ycy;&shcy;&iecy; cvsps &ocy;&tcy;  <a href="https://github.com/andreyvit/cvsps">https://github.com/andreyvit/cvsps</a>  &icy; &ucy;&bcy;&iecy;&dcy;&icy;&tcy;&iecy;&scy;&softcy;, &chcy;&tcy;&ocy; &ocy;&ncy;&acy; &iecy;&scy;&tcy;&softcy; &ncy;&acy; &vcy;&acy;&shcy;&iecy;&mcy; &pcy;&ucy;&tcy;&icy;. &Zcy;&acy;&tcy;&iecy;&mcy; &pcy;&iecy;&rcy;&iecy;&jcy;&dcy;&icy;&tcy;&iecy; &vcy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&jcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; CVS &icy;&ncy;&tcy;&iecy;&rcy;&iecy;&scy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &vcy;&acy;&scy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy; &icy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&iecy;  <a href="git-cvsimport.html">git-cvsimport[1]</a> :</span></p> <div> <div> <pre class="hljs language-xml">$ git cvsimport -C <span class="hljs-tag">&lt;<span class="hljs-name">destination</span>&gt;</span> <span class="hljs-tag">&lt;<span class="hljs-name">module</span>&gt;</span></pre> </div> </div> <p><span data-i18n="ee2c314bdc595c05d917cc9ca09f77b42d3684b8afa6412610958f3da1b7d80e/0d" data-source="This puts a Git archive of the named CVS module in the directory &amp;lt;destination&amp;gt;, which will be created if necessary." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &acy;&rcy;&khcy;&icy;&vcy;  Git  &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &mcy;&ocy;&dcy;&ucy;&lcy;&yacy; CVS &pcy;&ocy;&mcy;&iecy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &lt;destination&gt;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy; &pcy;&rcy;&icy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy;.</span></p> <p><span data-i18n="9bbc6ef3df4528e214fa727ae9d165a34aabd549a828113bd050db92cc3a0d48/d8" data-source="The import checks out from CVS every revision of every file. Reportedly cvsimport can average some twenty revisions per second, so for a medium-sized project this should not take more than a couple of minutes. Larger projects or remote repositories may take longer." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&iecy; &icy;&zcy; CVS &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&zhcy;&dcy;&acy;&yacy; &rcy;&iecy;&dcy;&acy;&kcy;&tscy;&icy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy;. &Scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy; cvsimport &mcy;&ocy;&zhcy;&iecy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy; &vcy; &scy;&rcy;&iecy;&dcy;&ncy;&iecy;&mcy; &ocy;&kcy;&ocy;&lcy;&ocy; &dcy;&vcy;&acy;&dcy;&tscy;&acy;&tcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &vcy; &scy;&iecy;&kcy;&ucy;&ncy;&dcy;&ucy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &dcy;&lcy;&yacy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy; &scy;&rcy;&iecy;&dcy;&ncy;&iecy;&gcy;&ocy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&acy; &ecy;&tcy;&ocy; &ncy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &zcy;&acy;&ncy;&icy;&mcy;&acy;&tcy;&softcy; &bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&acy;&rcy;&ycy; &mcy;&icy;&ncy;&ucy;&tcy;. &Bcy;&ocy;&lcy;&iecy;&iecy; &kcy;&rcy;&ucy;&pcy;&ncy;&ycy;&iecy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&ycy; &icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; &mcy;&ocy;&gcy;&ucy;&tcy; &zcy;&acy;&ncy;&yacy;&tcy;&softcy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&icy;.</span></p> <p><span data-i18n="c78be51890e9a92aa0856b59636b3eacab80edb936e1d6d7c1a49f3b5e708c2e/6e" data-source="The main trunk is stored in the Git branch named &lt;code&gt;origin&lt;/code&gt;, and additional CVS branches are stored in Git branches with the same names. The most recent version of the main trunk is also left checked out on the &lt;code&gt;master&lt;/code&gt; branch, so you can start adding your own changes right away." onmousemove="i18n(this)">&Ocy;&scy;&ncy;&ocy;&vcy;&ncy;&acy;&yacy; &mcy;&acy;&gcy;&icy;&scy;&tcy;&rcy;&acy;&lcy;&softcy; &khcy;&rcy;&acy;&ncy;&icy;&tcy;&scy;&yacy; &vcy; &vcy;&iecy;&tcy;&kcy;&iecy;  Git  &scy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy;  <code>origin</code> , &acy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &vcy;&iecy;&tcy;&vcy;&icy; CVS &khcy;&rcy;&acy;&ncy;&yacy;&tcy;&scy;&yacy; &vcy; &vcy;&iecy;&tcy;&kcy;&acy;&khcy;  Git  &scy; &tcy;&acy;&kcy;&icy;&mcy;&icy; &zhcy;&iecy; &icy;&mcy;&iecy;&ncy;&acy;&mcy;&icy;. &Scy;&acy;&mcy;&acy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&yacy;&yacy; &vcy;&iecy;&rcy;&scy;&icy;&yacy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&gcy;&ocy; &kcy;&acy;&ncy;&acy;&lcy;&acy; &tcy;&acy;&kcy;&zhcy;&iecy; &ocy;&scy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy; &vcy;&iecy;&tcy;&kcy;&iecy;  <code>master</code> , &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&rcy;&acy;&zcy;&ucy; &zhcy;&iecy; &pcy;&rcy;&icy;&scy;&tcy;&ucy;&pcy;&icy;&tcy;&softcy; &kcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yucy; &scy;&ocy;&bcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;.</span></p> <p><span data-i18n="60158a8a7bf9c1785fd798de5e33ddb20ba483bfab253e3f59df56d547b7e905/92" data-source="The import is incremental, so if you call it again next month it will fetch any CVS updates that have been made in the meantime. For this to work, you must not modify the imported branches; instead, create new branches for your own changes, and merge in the imported branches as necessary." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&ncy;&kcy;&rcy;&iecy;&mcy;&iecy;&ncy;&tcy;&ncy;&ycy;&mcy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &vcy;&ycy;&zcy;&ocy;&vcy;&iecy;&tcy;&iecy; &iecy;&gcy;&ocy; &scy;&ncy;&ocy;&vcy;&acy; &vcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &mcy;&iecy;&scy;&yacy;&tscy;&iecy;, &ocy;&ncy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy; &vcy;&scy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; CVS, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ycy;&lcy;&icy; &scy;&dcy;&iecy;&lcy;&acy;&ncy;&ycy; &zcy;&acy; &ecy;&tcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy;. &CHcy;&tcy;&ocy;&bcy;&ycy; &ecy;&tcy;&ocy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&lcy;&ocy;, &vcy;&ycy; &ncy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &dcy;&lcy;&yacy; &scy;&ocy;&bcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy; &pcy;&rcy;&icy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&iecy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;.</span></p> <p><span data-i18n="bb82acadaa6c8158dda8f45ef39f3b45d253dc04d93210100e38fc0ef8cd44db/ac" data-source="If you want a shared repository, you will need to make a bare clone of the imported directory, as described above. Then treat the imported directory as another development clone for purposes of merging incremental imports." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&acy;&mcy; &ncy;&ucy;&zhcy;&iecy;&ncy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &vcy;&acy;&mcy; &ncy;&ucy;&zhcy;&ncy;&ocy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &chcy;&icy;&scy;&tcy;&ycy;&jcy; &kcy;&lcy;&ocy;&ncy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;, &kcy;&acy;&kcy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&ocy; &vcy;&ycy;&shcy;&iecy;. &Zcy;&acy;&tcy;&iecy;&mcy; &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&jcy;&tcy;&iecy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &kcy;&acy;&kcy; &iecy;&shchcy;&iecy; &ocy;&dcy;&icy;&ncy; &kcy;&lcy;&ocy;&ncy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy; &dcy;&lcy;&yacy; &tscy;&iecy;&lcy;&iecy;&jcy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&yacy; &dcy;&ocy;&bcy;&acy;&vcy;&ocy;&chcy;&ncy;&ocy;&gcy;&ocy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&acy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_advanced_shared_repository_management"><span data-i18n="c9d6d1927ff426361220c9cb1db5fcfa5057bda538796771f16fd72672fd000a/9f" data-source="Advanced shared repository management" onmousemove="i18n(this)">&Rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&ncy;&ocy;&iecy; &ucy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &ocy;&bcy;&shchcy;&icy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&mcy;</span></h2> <div> <p><span data-i18n="fa2d3092e49adcd5bc90759fe79fa7bce63d592e5a24a5939afb865423a5869d/67" data-source="Git allows you to specify scripts called &amp;quot;hooks&amp;quot; to be run at certain points. You can use these, for example, to send all commits to the shared repository to a mailing list. See &lt;a href=&quot;githooks&quot;&gt;githooks[5]&lt;/a&gt;." onmousemove="i18n(this)">Git  &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &vcy;&acy;&mcy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&icy; &pcy;&ocy;&dcy; &ncy;&acy;&zcy;&vcy;&acy;&ncy;&icy;&iecy;&mcy;  &quot;hooks&quot; , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &tcy;&ocy;&chcy;&kcy;&acy;&khcy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&khcy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy;&scy;&iecy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &vcy; &ocy;&bcy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &vcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &rcy;&acy;&scy;&scy;&ycy;&lcy;&kcy;&icy;. &Scy;&mcy;.  <a href="githooks.html">githooks[5]</a> .</span></p> <p><span data-i18n="6c81aca9b75cb87016edc64e25594788ec766cf1f656461630cc7191b181680c/6f" data-source="You can enforce finer grained permissions using update hooks. See &lt;a href=&quot;https://git-scm.com/docs/howto/update-hook-example&quot;&gt;Controlling access to branches using update hooks&lt;/a&gt;." onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&tcy;&softcy; &bcy;&ocy;&lcy;&iecy;&iecy; &dcy;&iecy;&tcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;. &Scy;&mcy;.  <a href="https://git-scm.com/docs/howto/update-hook-example">Controlling access to branches using update hooks</a> .</span></p> </div> <h2 class="text-body-emphasis"  id="_providing_cvs_access_to_a_git_repository"><span data-i18n="7118eaf53e8482fcf0e2b09e8d1f6203100f1d2b688ea284a1e30cc300008eea/e7" data-source="Providing cvs access to a git repository" onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&acy; cvs &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;  git</span></h2> <div> <p><span data-i18n="8bc934d73e41be144bf5e1f2172f9365cf70041e63702bed7a540d58f761a313/75" data-source="It is also possible to provide true CVS access to a Git repository, so that developers can still use CVS; see &lt;a href=&quot;git-cvsserver&quot;&gt;git-cvsserver[1]&lt;/a&gt; for details." onmousemove="i18n(this)">&Tcy;&acy;&kcy;&zhcy;&iecy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&icy;&tcy;&softcy;  true  CVS &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;  Git , &chcy;&tcy;&ocy;&bcy;&ycy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&icy; &mcy;&ocy;&gcy;&lcy;&icy; &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; CVS; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  <a href="git-cvsserver.html">git-cvsserver[1]</a> .</span></p> </div> <h2 class="text-body-emphasis"  id="_alternative_development_models"><span data-i18n="d28f6a148b961b38dbe0b4b2290e5f145d9344480d71e8bde8a76a95508afd59/9d" data-source="Alternative development models" onmousemove="i18n(this)">&Acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ncy;&ycy;&iecy; &mcy;&ocy;&dcy;&iecy;&lcy;&icy; &rcy;&acy;&zcy;&vcy;&icy;&tcy;&icy;&yacy;</span></h2> <div> <p><span data-i18n="e849ee42992c9bd1fc530cc0c8b08bc522c2acd719c83d7945977c111c1417f5/fc" data-source="CVS users are accustomed to giving a group of developers commit access to a common repository. As we&amp;rsquo;ve seen, this is also possible with Git. However, the distributed nature of Git allows other development models, and you may want to first consider whether one of them might be a better fit for your project." onmousemove="i18n(this)">&Pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&icy; CVS &pcy;&rcy;&icy;&vcy;&ycy;&kcy;&lcy;&icy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &gcy;&rcy;&ucy;&pcy;&pcy;&iecy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&ocy;&vcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &kcy; &ocy;&bcy;&shchcy;&iecy;&mcy;&ucy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;. &Kcy;&acy;&kcy; &mcy;&ycy; &vcy;&icy;&dcy;&iecy;&lcy;&icy;, &ecy;&tcy;&ocy; &tcy;&acy;&kcy;&zhcy;&iecy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy; &scy;  Git . &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &rcy;&acy;&scy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &khcy;&acy;&rcy;&acy;&kcy;&tcy;&iecy;&rcy;  Git  &dcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &mcy;&ocy;&dcy;&iecy;&lcy;&iecy;&jcy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy;, &icy; &vcy;&ycy;, &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &zcy;&acy;&khcy;&ocy;&tcy;&icy;&tcy;&iecy; &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &pcy;&ocy;&dcy;&ucy;&mcy;&acy;&tcy;&softcy;, &mcy;&ocy;&zhcy;&iecy;&tcy; &lcy;&icy; &ocy;&dcy;&ncy;&acy; &icy;&zcy; &ncy;&icy;&khcy; &lcy;&ucy;&chcy;&shcy;&iecy; &pcy;&ocy;&dcy;&ocy;&jcy;&tcy;&icy; &dcy;&lcy;&yacy; &vcy;&acy;&shcy;&iecy;&gcy;&ocy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy;.</span></p> <p><span data-i18n="4b1656b39a4710cca007b7e18badbc23d0944dca82bd4a86659ab86860b3212d/90" data-source="For example, you can choose a single person to maintain the project&amp;rsquo;s primary public repository. Other developers then clone this repository and each work in their own clone. When they have a series of changes that they&amp;rsquo;re happy with, they ask the maintainer to pull from the branch containing the changes. The maintainer reviews their changes and pulls them into the primary repository, which other developers pull from as necessary to stay coordinated. The Linux kernel and other projects use variants of this model." onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &vcy;&ycy;&bcy;&rcy;&acy;&tcy;&softcy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &chcy;&iecy;&lcy;&ocy;&vcy;&iecy;&kcy;&acy; &dcy;&lcy;&yacy; &ocy;&bcy;&scy;&lcy;&ucy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;  public  &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy;. &Zcy;&acy;&tcy;&iecy;&mcy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&yucy;&tcy; &ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &icy; &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &ncy;&acy;&dcy; &scy;&vcy;&ocy;&icy;&mcy; &scy;&ocy;&bcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&mcy; &kcy;&lcy;&ocy;&ncy;&ocy;&mcy;. &Kcy;&ocy;&gcy;&dcy;&acy; &ucy; &ncy;&icy;&khcy; &iecy;&scy;&tcy;&softcy; &scy;&iecy;&rcy;&icy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &icy;&khcy; &ucy;&scy;&tcy;&rcy;&acy;&icy;&vcy;&acy;&yucy;&tcy;, &ocy;&ncy;&icy; &pcy;&rcy;&ocy;&scy;&yacy;&tcy; &scy;&ocy;&pcy;&rcy;&ocy;&vcy;&ocy;&zhcy;&dcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&softcy; &icy;&khcy; &icy;&zcy; &vcy;&iecy;&tcy;&kcy;&icy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&iecy;&jcy; &ecy;&tcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;. &Scy;&ocy;&pcy;&rcy;&ocy;&vcy;&ocy;&zhcy;&dcy;&acy;&yucy;&shchcy;&icy;&jcy; &pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy; &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy; &pcy;&iecy;&rcy;&iecy;&ncy;&ocy;&scy;&icy;&tcy; &icy;&khcy; &vcy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&icy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&yucy;&tcy; &icy;&khcy; &pcy;&ocy; &mcy;&iecy;&rcy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &dcy;&lcy;&yacy; &kcy;&ocy;&ocy;&rcy;&dcy;&icy;&ncy;&acy;&tscy;&icy;&icy;. &YAcy;&dcy;&rcy;&ocy; Linux &icy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ycy; &ecy;&tcy;&ocy;&jcy; &mcy;&ocy;&dcy;&iecy;&lcy;&icy;.</span></p> <p><span data-i18n="07e26128184507f315127df5a396b0ba71af62245ee47d8595b3ec231c49b122/b5" data-source="With a small group, developers may just pull changes from each other&amp;rsquo;s repositories without the need for a central maintainer." onmousemove="i18n(this)">&Vcy; &ncy;&iecy;&bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&jcy; &gcy;&rcy;&ucy;&pcy;&pcy;&iecy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&icy; &mcy;&ocy;&gcy;&ucy;&tcy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&zcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy; &dcy;&rcy;&ucy;&gcy; &dcy;&rcy;&ucy;&gcy;&acy; &bcy;&iecy;&zcy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ucy;&chcy;&acy;&scy;&tcy;&icy;&yacy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &scy;&ocy;&pcy;&rcy;&ocy;&vcy;&ocy;&zhcy;&dcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_see_also"><span data-i18n="2fa97693b70fa87b95b2d1bdf9558e4ac65d5e82d145f13a03849c4d9c4957a9/40" data-source="See also" onmousemove="i18n(this)">See also</span></h2> <div> <p><span data-i18n="939a20de9dbdea2ea59ac32a22cca4eac7f0e45287094d0f531790ac4a12455e/4c" data-source="&lt;a href=&quot;gittutorial&quot;&gt;gittutorial[7]&lt;/a&gt;, &lt;a href=&quot;gittutorial-2&quot;&gt;gittutorial-2[7]&lt;/a&gt;, &lt;a href=&quot;gitcore-tutorial&quot;&gt;gitcore-tutorial[7]&lt;/a&gt;, &lt;a href=&quot;gitglossary&quot;&gt;gitglossary[7]&lt;/a&gt;, &lt;a href=&quot;giteveryday&quot;&gt;giteveryday[7]&lt;/a&gt;, &lt;a href=&quot;user-manual&quot;&gt;The Git User&amp;rsquo;s Manual&lt;/a&gt;" onmousemove="i18n(this)"><a href="gittutorial.html">gittutorial[7]</a> ,  <a href="gittutorial-2.html">gittutorial-2[7]</a> ,  <a href="gitcore-tutorial.html">gitcore-tutorial[7]</a> ,  <a href="gitglossary.html">gitglossary[7]</a> ,  <a href="giteveryday.html">giteveryday[7]</a> ,  <a href="user-manual.html">The Git User&rsquo;s Manual</a></span></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/gitcvs-migration">https://git-scm.com/docs/gitcvs-migration</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitdiffcore.html">
                            gitdiffcore                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="giteveryday.html">
                            giteveryday                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitfaq.html">
                            gitfaq                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-bundle.html">
                            gitformat bundle                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-chunk.html">
                            gitformat chunk                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-commit-graph.html">
                            gitformat commit-graph                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitformat-index.html">
                            gitformat index                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="gitcvs-migration.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>